import request from '@/utils/request'

// 首页报表接口
export const homeTotalDataReq = () => {
    return request({
        method: 'get',
        url: '/order/totaldata'
    })
}

// 订单报表接口
export const homeOrderTotalReq = (params) => {
    return request({
        method: 'get',
        url: '/order/ordertotal',
        params,
    })
}